<template>
  <div id="app">
    <NavRouter class="nav" />
    <!-- 路由占位，将路由放到这里来使用 -->
    <router-view />
    <!-- <TodoList></TodoList> -->
  </div>
</template>

<script>
// import TodoList from './views/TodoList.vue';
// 导入路由导航
import NavRouter from './components/NavRouter.vue'
export default {
  name: 'App',
  components: {
    NavRouter
  }
}
</script>

<style>
.nav {
  margin-bottom: 20px;
}
</style>
